package com.ruoyi.swimming.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.swimming.domian.MallOrder;

import java.util.List;

/**
 * 商城订单Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface MallOrderMapper extends BaseMapper<MallOrder>
{
    /**
     * 查询商城订单
     * 
     * @param id 商城订单ID
     * @return 商城订单
     */
    public MallOrder selectMallOrderById(Long id);

    /**
     * 查询商城订单列表
     * 
     * @param mallOrder 商城订单
     * @return 商城订单集合
     */
    public List<MallOrder> selectMallOrderList(MallOrder mallOrder);

}
